Parikh-Equivalent Bounded Underapproximations

نویسندگان

  • Pierre Ganty
  • Rupak Majumdar
  • Benjamin Monmege
چکیده

Many problems in the verification of concurrent software systems reduce to checking the non-emptiness of the intersection of contextfree languages, an undecidable problem. We propose a decidable underapproximation, and a semi-algorithm based on the under-approximation, for this problem through bounded languages. Bounded languages are context-free subsets of regular languages of the form w∗ 1w ∗ 2 . . . w ∗ k for some w1, . . . , wk ∈ Σ∗. Bounded languages have nice structural properties, in particular the nonemptiness of the intersection of a bounded language and a context free language is decidable. Thus, in the under-approximation, we replace each of the context free languages in the intersection by bounded subsets, and check if the intersection of these languages is non-empty. In order to provide useful results in practice, the under-approximation must preserve “many” words from the original language (the empty language is a bounded subset, but clearly useless). Our main theoretical result is a constructive proof of the following result: for any context free language L, there is a bounded language L′ ⊆ L which has the same Parikh (commutative) image as L. Along the way, we show an iterative construction that associates with each context free language a family of linear languages and linear substitutions that preserve the Parikh image of the context free language. We show two applications of this result: to underapproximate the reachable state space of multi-threaded procedural programs, and to under-approximate the reachable state space of counter automata with context-free constraints.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Bounded Underapproximations

We show a new and constructive proof of the following language-theoretic result: for every context-free language L, there is a bounded context-free language L′ ⊆ L which has the same Parikh (commutative) image as L. Bounded languages, introduced by Ginsburg and Spanier, are subsets of regular languages of the form w∗ 1w ∗ 2 · · ·w∗ k for some w1, . . . , wk ∈ Σ∗. In particular bounded subsets o...

متن کامل

A Regularity Measure for Context Free Grammars

Parikh’s theorem states that every Context Free Language (CFL) has the same Parikh image as that of a regular language. A finite state automaton accepting such a regular language is called a Parikh-equivalent automaton. In the worst case, the number of states in any non-deterministic Parikh-equivalent automaton is exponentially large in the size of the Context Free Grammar (CFG). We associate a...

متن کامل

Characterization of Context-Free Languages with Polynomially Bounded Ambiguity

We prove that the class of context-free languages with polynomially bounded ambiguity (PCFL) is the closure of the class of unambiguous languages (UCFL) under projections which deletes Parikh bounded symbols only. A symbol a is Parikh bounded in a language L if there is a constant c such that no word of L contains more than c occurrences of a. Furthermore PCFL is closed under the formally stron...

متن کامل

Bounded Communication Reachability Analysis of Process Rewrite Systems with Ordered Parallelism

We define a new model called O-PRS that extends the Process Rewrite Systems formalism with a new associative operator, “ ”, that allows to model parallel composition while keeping the order between parallel processes. Indeed, sometimes, it is important to remember the order between the parallel processes. The reachability problem of O-PRS being undecidable, we develop tree automata techniques a...

متن کامل

Converting Nondeterministic Automata and Context-Free Grammars into Parikh Equivalent Deterministic Automata

We investigate the conversion of nondeterministic finite automata and context-free grammars into Parikh equivalent deterministic finite automata, from a descriptional complexity point of view. We prove that for each nondeterministic automaton with n states there exists a Parikh equivalent deterministic automaton with e √ n·lnn) states. Furthermore, this cost is tight. In contrast, if all the st...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • CoRR

دوره abs/0809.1236  شماره 

صفحات  -

تاریخ انتشار 2008